<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<link type="text/css" rel="stylesheet" href="<%=basePath%>statics/js/plug/jbox/jBox.css"/>
<script type="text/javascript" src="<%=basePath %>statics/js/plug/jquery.validate.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/plug/jbox/jBox.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/app/appdictionary/app_dictionary_add.js"></script>
<style>

.advanced_table tr{
	height: 35px;
}
.advanced_table attr{
	background-color: #fff;
	border: 0;
}
.advanced_table tr td input{
	width: 325px;
}
</style>
<div class="window-title-bar" style="background-color: white;">
    <h5 class="title">添加字典</h5>
</div>
			<form id="addForm">
				<table class="advanced_table" cellpadding="0" cellspacing="0">
					<tr>
						<td class="attr"><span>字典编码：</span></td>
						<td  style="border: 0;">
							<input id="label" type="text"name="code">
							<img alt="" src="<%=basePath %>statics/images/common/star.gif" width="9" height="10">
						</td>
					</tr>
					<tr>
						<td class="attr"><span>字典名称：</span></td>
						<td  style="border: 0;"><input id="permission" type="text" name="name">
							<img alt="" src="<%=basePath %>statics/images/common/star.gif" width="9" height="10">
						</td>
					</tr>
					<tr>
						<td class="attr"><span>父类 ：</span></td>
						<td  style="border: 0;"><input id="dictionaryAddList" type="text"
							name="dictionaryAddList" readonly="readonly" value="${parent.name }"> <input
							id="parentId" type="hidden" name="parentId"  value="${parent.id }">
							<img alt="" src="<%=basePath %>statics/images/common/star.gif" width="9" height="10"></td>
					</tr>
					<tr>
						<td class="attr"><span>排序：</span></td>
						<td  style="border: 0;"><input id="sortFlag" type="text" name="sortFlag"> 
						<img alt="" src="<%=basePath %>statics/images/common/star.gif" width="9" height="10">
						</td>
					</tr>
					<tr>
						<td class="attr"><span>值：</span></td>
						<td  style="border: 0;"><input id="value" type="text" name="value" >	
						</td>
					</tr>
					<tr>
						<td class="attr"><span>是否显示：</span></td>
						<td style="border: 0;">&nbsp;<input id="status" type="radio" name="status" value="0" checked="checked" style="width: 30px;"><span style="margin-right: 11px;">显示</span>&nbsp;
						<input id="status" type="radio" name="status" value="1" style="width: 30px;"><span>不显示</span>
						</td>
					</tr>
					<tr>
						<td class="attr"><span>刷新缓存：</span></td>
						<td  style="border: 0;">&nbsp;<input type="radio" name="isRefreshCache" value="0" checked="checked" style="width: 30px;"><span>不刷新</span>&nbsp;
						<input type="radio" name="isRefreshCache" value="1" style="width: 30px;"><span>刷新</span>
						</td>
					</tr>
					
					<tr>
						<td class="attr"><span>备注：</span></td>
						<td  style="border: 0;"><input id="remark" type="text" name="remark"></td>
					</tr> 
				</table>
				<div class="buttons" style="text-align:  -webkit-auto;margin-left: 70px;" >
			        <button type="submit"  style="margin-top: 20px;float: left;">添加</button>
			        <input type="button" value="重置" onclick="heavyLoad();" style="margin-top: 20px;float: left;margin-left:40px;">
			        <button id="refreshCache" class="blur" style="margin-top: 20px;margin-left:40px;float: left;" type="button">刷新缓存</button>
    			</div>
			</form>
